package com.project.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.UserBean;

public interface IUserService{
    /**
     * 登录
     * @param userName
     * @param pwd
     * @return
     */
    UserBean login(String userName, String pwd);

    /**
     * 根据名字查用户
     * @param userName
     * @return
     */
    UserBean findByUser(String userName);

    /**
     * 添加
     * @param userBean
     */
    void add(UserBean userBean);
}
